<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/1/001
 * Time: 21:46
 */

namespace App\Models\base\traits;


use App\Models\posts\PostsCate;

trait HasPostsCate
{
    public function posts_cate()
    {
        return $this->belongsTo(PostsCate::class);
    }
}